package com.yunkaweilai.android.model.member;

import java.util.List;

/**
 * Created by Administrator on 2017/7/6.
 */

public class MemberLevelModel {


    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"list":[{"id":"25","level_name":"铜卡","is_password":"0","validity_type":"appoint","validity":"1500307200","is_first":"1","sub_store_id":"5","level_member_count":0,"is_del":true,"is_edit":true},{"id":"9","level_name":"银卡","is_password":"1","validity_type":"permanent","validity":"0","is_first":"1","sub_store_id":"5","level_member_count":102,"is_del":false,"is_edit":true},{"id":"8","level_name":"金卡","is_password":"1","validity_type":"permanent","validity":"0","is_first":"1","sub_store_id":"5","level_member_count":2,"is_del":false,"is_edit":true}]}
     */

    private int loginCode;
    private int code;
    private String message;
    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 25
         * level_name : 铜卡
         * is_password : 0
         * validity_type : appoint
         * validity : 1500307200
         * is_first : 1
         * sub_store_id : 5
         * level_member_count : 0
         * is_del : true
         * is_edit : true
         */

        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            private String id;
            private String level_name;
            private String is_password;
            private String validity_type;
            private long validity;
            private String is_first;
            private String sub_store_id;
            private int level_member_count;
            private boolean is_del;
            private boolean is_edit;
            private float activate_amount;

            public float getActivate_amount() {
                return activate_amount;
            }

            public void setActivate_amount(float activate_amount) {
                this.activate_amount = activate_amount;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLevel_name() {
                return level_name;
            }

            public void setLevel_name(String level_name) {
                this.level_name = level_name;
            }

            public String getIs_password() {
                return is_password;
            }

            public void setIs_password(String is_password) {
                this.is_password = is_password;
            }

            public String getValidity_type() {
                return validity_type;
            }

            public void setValidity_type(String validity_type) {
                this.validity_type = validity_type;
            }

            public long getValidity() {
                return validity;
            }

            public void setValidity(long validity) {
                this.validity = validity;
            }

            public String getIs_first() {
                return is_first;
            }

            public void setIs_first(String is_first) {
                this.is_first = is_first;
            }

            public String getSub_store_id() {
                return sub_store_id;
            }

            public void setSub_store_id(String sub_store_id) {
                this.sub_store_id = sub_store_id;
            }

            public int getLevel_member_count() {
                return level_member_count;
            }

            public void setLevel_member_count(int level_member_count) {
                this.level_member_count = level_member_count;
            }

            public boolean isIs_del() {
                return is_del;
            }

            public void setIs_del(boolean is_del) {
                this.is_del = is_del;
            }

            public boolean isIs_edit() {
                return is_edit;
            }

            public void setIs_edit(boolean is_edit) {
                this.is_edit = is_edit;
            }
        }
    }
}
